// 导入动画库
import { trigger, state, transition, style, animate } from '@angular/animations';

export const itemAnima = trigger('item', [
    // 鼠标移出的时候
    state('in', style({ 'border-left-width': '3px' })),
    state('out', style({ 'border-left-width': '8px' })),
    transition('in=>out', animate('100ms ease-in')),
    transition('out=>in', animate('100ms ease-in'))
]);
